package com.bite.friend.domain.user.dto;


import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.Pattern;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class UserEditDTO {
    private Long userId;

    private String avatar;

    private String nickName;

    @Pattern(regexp = "^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\\d{8}$", message = "⼿机号码格式不正确")
    private String phone;

    private String wechat;

    @Email(message = "邮件格式不合法")
    private String email;

    private String schoolName;

    private String majorName;

    private String introduce;

    private Integer sex;
}
